home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / amiga / plotting / gnuplot3.lzh / gnuplot / setshow.h < prev    next >
C/C++ Source or Header  |  1991-07-18  |  4KB  |  136 lines

  1. /* GNUPLOT - setshow.h */
  2. /*
  3.  * Copyright (C) 1986, 1987, 1990, 1991   Thomas Williams, Colin Kelley
  4.  *
  5.  * Permission to use, copy, and distribute this software and its
  6.  * documentation for any purpose with or without fee is hereby granted, 
  7.  * provided that the above copyright notice appear in all copies and 
  8.  * that both that copyright notice and this permission notice appear 
  9.  * in supporting documentation.
  10.  *
  11.  * Permission to modify the software is granted, but not the right to
  12.  * distribute the modified code.  Modifications are to be distributed 
  13.  * as patches to released version.
  14.  *  
  15.  * This software is provided "as is" without express or implied warranty.
  16.  * 
  17.  *
  18.  * AUTHORS
  19.  * 
  20.  *   Original Software:
  21.  *     Thomas Williams,  Colin Kelley.
  22.  * 
  23.  *   Gnuplot 2.0 additions:
  24.  *       Russell Lang, Dave Kotz, John Campbell.
  25.  *
  26.  *   Gnuplot 3.0 additions:
  27.  *       Gershon Elber and many others.
  28.  * 
  29.  * Send your comments or suggestions to 
  30.  *  pixar!info-gnuplot@sun.com.
  31.  * This is a mailing list; to join it send a note to 
  32.  *  pixar!info-gnuplot-request@sun.com.  
  33.  * Send bug reports to
  34.  *  pixar!bug-gnuplot@sun.com.
  35.  */
  36.  
  37. /*
  38.  * global variables to hold status of 'set' options
  39.  *
  40.  */
  41. extern BOOLEAN            autoscale_r;
  42. extern BOOLEAN            autoscale_t;
  43. extern BOOLEAN            autoscale_u;
  44. extern BOOLEAN            autoscale_v;
  45. extern BOOLEAN            autoscale_x;
  46. extern BOOLEAN            autoscale_y;
  47. extern BOOLEAN            autoscale_z;
  48. extern BOOLEAN            autoscale_lt;
  49. extern BOOLEAN            autoscale_lu;
  50. extern BOOLEAN            autoscale_lv;
  51. extern BOOLEAN            autoscale_lx;
  52. extern BOOLEAN            autoscale_ly;
  53. extern BOOLEAN            autoscale_lz;
  54. extern BOOLEAN            clip_points;
  55. extern BOOLEAN            clip_lines1;
  56. extern BOOLEAN            clip_lines2;
  57. extern BOOLEAN            draw_border;
  58. extern BOOLEAN            draw_surface;
  59. extern BOOLEAN            timedate;
  60. extern char            dummy_var[MAX_NUM_VAR][MAX_ID_LEN+1];
  61. extern char            xformat[];
  62. extern char            yformat[];
  63. extern char            zformat[];
  64. extern enum PLOT_STYLE data_style, func_style;
  65. extern BOOLEAN            grid;
  66. extern int            key;
  67. extern double            key_x, key_y, key_z; /* user specified position for key */
  68. extern BOOLEAN            log_x, log_y, log_z;
  69. extern FILE*            outfile;
  70. extern char            outstr[];
  71. extern BOOLEAN            parametric;
  72. extern BOOLEAN            polar;
  73. extern int            angles_format;
  74. extern int            mapping3d;
  75. extern int            samples;
  76. extern int            iso_samples;
  77. extern float            xsize; /* scale factor for size */
  78. extern float            ysize; /* scale factor for size */
  79. extern float            zsize; /* scale factor for size */
  80. extern float            surface_rot_z;
  81. extern float            surface_rot_x;
  82. extern float            surface_scale;
  83. extern float            surface_zscale;
  84. extern int            term; /* unknown term is 0 */
  85. extern char            term_options[];
  86. extern char            title[];
  87. extern char            xlabel[];
  88. extern char            ylabel[];
  89. extern char            zlabel[];
  90. extern int            time_xoffset;
  91. extern int            time_yoffset;
  92. extern int            title_xoffset;
  93. extern int            title_yoffset;
  94. extern int            xlabel_xoffset;
  95. extern int            xlabel_yoffset;
  96. extern int            ylabel_xoffset;
  97. extern int            ylabel_yoffset;
  98. extern int            zlabel_xoffset;
  99. extern int            zlabel_yoffset;
  100. extern double            rmin, rmax;
  101. extern double            tmin, tmax, umin, umax, vmin, vmax;
  102. extern double            xmin, xmax, ymin, ymax, zmin, zmax;
  103. extern double            loff, roff, toff, boff;
  104. extern int            draw_contour;
  105. extern int            contour_pts;
  106. extern int            contour_kind;
  107. extern int            contour_order;
  108. extern int            contour_levels;
  109. extern double            zero; /* zero threshold, not 0! */
  110.  
  111. extern BOOLEAN xzeroaxis;
  112. extern BOOLEAN yzeroaxis;
  113.  
  114. extern BOOLEAN xtics;
  115. extern BOOLEAN ytics;
  116. extern BOOLEAN ztics;
  117.  
  118. extern float ticslevel;
  119.  
  120. extern struct ticdef xticdef;
  121. extern struct ticdef yticdef;
  122. extern struct ticdef zticdef;
  123.  
  124. extern BOOLEAN            tic_in;
  125.  
  126. extern struct text_label *first_label;
  127. extern struct arrow_def *first_arrow;
  128.  
  129. /* The set and show commands, in setshow.c */
  130. extern void set_command();
  131. extern void show_command();
  132. /* and some accessible support functions */
  133. extern enum PLOT_STYLE get_style();
  134. extern BOOLEAN load_range();
  135. extern void show_version();
  136.